package com.smile.service;

import com.smile.model.dto.request.*;
import com.smile.model.response.response.PayloadDataResponseDTO;

import java.io.IOException;

//import org.eclipse.paho.client.mqttv3.MqttException;
//import
public interface PayloadService {
    void payloadAuthorityGrab(PayloadAuthorityGrabRequestDTO payloadAuthorityGrabRequestDTO) throws Exception;

    void cameraPhotoTake(CameraPhotoTakeRequestDTO cameraPhotoTakeRequestDTO) throws Exception;

    void cameraPhotoStop(CameraPhotoStopRequestDTO cameraPhotoStopRequestDTO) throws Exception;

    void cameraRecordingStart(CameraRecordStartRequestDTO cameraRecordStartRequestDTO) throws Exception;

    void cameraRecordingStop(CameraRecordStopRequestDTO cameraRecordStopRequestDTO) throws Exception;

    void cameraModeSwitch(CameraModeSwitchRequestDTO cameraModeSwitchRequestDTO) throws Exception;

    void videoStorageSet(VideoStorageSetRequestDTO videoStorageSetRequestDTO) throws Exception;

    void photoStorageSet(PhotoStorageSetRequestDTO photoStorageSetRequestDTO) throws Exception;

    void gimbalReset(GimbalResetRequestDTO gimbalResetRequestDTO) throws Exception;

    void cameraFocalLengthSet(CameraFocalLengthSetRequestDTO cameraFocalLengthSetRequestDTO) throws Exception;
    void cameraScreenDrag(CameraScreenDragRequestDTO cameraScreenDragRequestDTO) throws Exception;
    void cameraFrameZoom(CameraFrameZoomRequestDTO cameraFrameZoomRequestDTO) throws Exception;

    String getPayloadIndex(String getawaySn) throws IOException;
    PayloadDataResponseDTO getPayloadData(String getawaySn) throws IOException;
    void cameraPointFocusAction(CameraPointFocusActionDTO cameraPointFocusActionDTO) throws Exception;//点对焦
    void cameraAim(CameraAimDTO cameraAimDTO) throws Exception;//点对焦
}
